import { navbar } from "vuepress-theme-hope";

export const zh = navbar([
  "/zh/",
  // "/zh/home",
  // { text: "使用指南", icon: "creative", link: "/zh/guide/" },
  {
    text: "文章",
    icon: "edit",
    prefix: "/zh/posts/",
    children: [
      {
        text: "踩坑小结",
        icon: "edit",
        prefix: "article/",
        children: ["article1", "article2", "article3"],
      },
      {
        text: "版本迭代",
        icon: "edit",
        prefix: "article/",
        children: ["article4"],
      },
      {
        text: "学习笔记-JavaScript",
        icon: "edit",
        prefix: "article/JavaScript/",
        children: [
          "浏览器渲染原理",
          "JavaScript执行原理",
          "JavaScript中的内存管理和闭包",
          "JavaScript中的函数增强",
          "JavaScript中的面向对象",
        ],
      },
      {
        text: "学习笔记-Vue",
        icon: "edit",
        prefix: "article/Vue/",
        children: ["Vue零碎整理一", "Vue零碎整理二"],
      },
      {
        text: "学习笔记-React",
        icon: "edit",
        prefix: "article/React/",
        children: ["React-jsx"],
      },
      {
        text: "学习笔记-Svg",
        icon: "edit",
        prefix: "article/Svg/",
        children: ["认识SVG","绘制SVG","SVG基本形状","Grid和坐标系以及视口"],
      },
      
    ],
  },
  // {
  //   text: "主题文档",
  //   icon: "note",
  //   link: "https://vuepress-theme-hope.github.io/v2/zh/",
  // },
]);
